﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RequestVoBo.aspx.cs" Inherits="MS.InformationManagement.WP.Layouts.MS.InformationManagement.WP.RequestVoBo" DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">

</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
<link rel="stylesheet" type="text/css" href="/_layouts/INC/MS.InformationManagement/css/layoutInterna.css" />

<style type="text/css"> 

.docItem{ width: 190px; float:left; }

</style>

<div class="form-container">
    <h3>Solicitud de aprobaci&oacute;n</h3>
    <div class="form-row">
            <asp:Label ID="lblDocuments" runat="server" Text="Seleccionados" CssClass="label"></asp:Label>
            <div class="uControl">
            <asp:Repeater ID="rptDocumentos" runat="server">
                <ItemTemplate>
                    <div class="VoBo-Doc-Item">
                        <asp:Label ID="lblDocument" runat="server" cssclass="docItem" Text='<%# Eval("Key") %>'></asp:Label>
                        <asp:Label ID="lblNote" runat="server" Text='<%# Eval("Value") %>'></asp:Label>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
            </div>
    </div>
    <div class="form-row">
            <asp:Label ID="lblUsuarios" runat="server" Text="Destinatario" CssClass="label"></asp:Label>
            <asp:DropDownList ID="ddlDestinatario" runat="server" DataTextField="DisplayName" DataValueField="LoginName"/>
    </div>
    <div class="form-row">
            <asp:Label ID="lblObservación" runat="server" Text="Observación" CssClass="label"></asp:Label>
            <asp:TextBox ID="txtObservacion" runat="server" TextMode="MultiLine" CssClass="LimitedTextArea" ></asp:TextBox>
    </div>
    <div class="form-row">
        <div class="cell12 actionBar aRight">
            <asp:Button ID="btnGuardar" runat="server" Text="Guardar" CssClass="button" OnClick="SaveAction"/>
            <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" CssClass="button"  CausesValidation="false" OnClick="CloseAction"  />
        </div>
    </div>
</div>
</asp:Content>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
Solicitud visto bueno
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
Solicitud visto bueno
</asp:Content>
